<?php 
  //$products = get_products_by_category_id($category_id);
  if ($products) {
?>
<table>
  <tr>
    <td>name</td>
    <td>desc</td>
  </tr>
<?php foreach ($products as $product) {?>
  <tr>
    <td><a href="<?php echo url('?module=product&product_id=' . $product['id']);?>"><?php echo $product['name'];?></a></td>
    <td><?php echo $product['description'];?></td>
  </tr>
<?php }?>
</table>
<?php
  }
?>